package com.tmsf;

/**
 * @author dingmingliang
 * 
 */
public class TmsfParam {

	public static TmsfParam LLF = new TmsfParam();

	public static TmsfParam ZT_GHJT = new TmsfParam();

	public static TmsfParam LH_CJLC = new TmsfParam();
	
	public static TmsfParam DJ_ZJY = new TmsfParam();

	public static TmsfParam[] ALL_PARAM = new TmsfParam[] { LLF, ZT_GHJT, LH_CJLC };

	static {
		LLF.name = "llf";
		LLF.fileNameOfPriceTrend = "tmsf-llf-priceTrend.txt";
		LLF.fileNameOfStock = "tmsf-llf-stock.txt";
		LLF.parseStockUrlArray = new String[] {
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=54500788&presellid=54500786&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=54500910&presellid=54500786&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=38688791&presellid=38688790&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=38689154&presellid=38688790&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=38689030&presellid=38688790&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=38688914&presellid=38688790&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=71731552&presellid=71731393&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=71731394&presellid=71731393&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=71731592&presellid=71731393&sid=33" };
		LLF.priceTrendUrl = "http://www.tmsf.com/newhouse/property_33_28713216_tendency.htm";
		LLF.hasInternalid = false;

		ZT_GHJT.name = "zt_ghjt";
		ZT_GHJT.fileNameOfPriceTrend = "tmsf-zt_ghjt-priceTrend.txt";
		ZT_GHJT.fileNameOfStock = "tmsf-zt_ghjt-stock.txt";
		ZT_GHJT.parseStockUrlArray = new String[] {
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=43734659&presellid=43734658&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=32510431&presellid=32510295&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=32510296&presellid=32510295&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=29203854&presellid=29203852&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=29204749&presellid=29203852&sid=33"};
		ZT_GHJT.priceTrendUrl = "http://www.tmsf.com/newhouse/property_33_15277206_tendency.htm";

		LH_CJLC.name = "lh_cjlc";
		LH_CJLC.fileNameOfPriceTrend = "tmsf-lh_cjlc-priceTrend.txt";
		LH_CJLC.fileNameOfStock = "tmsf-lh_cjlc-stock.txt";
		LH_CJLC.parseStockUrlArray = new String[] {
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=76944418&presellid=76944289&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=76944290&presellid=76944289&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=76944555&presellid=76944289&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=76947815&presellid=76947537&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=76947538&presellid=76947537&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=76947675&presellid=76947537&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=84071192&presellid=84071191&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=84072897&presellid=84071191&sid=33"};
		LH_CJLC.priceTrendUrl = "http://www.tmsf.com/newhouse/property_33_68291712_tendency.htm";
		
		DJ_ZJY.name = "dj_zjy";
		DJ_ZJY.fileNameOfPriceTrend = "tmsf-dj_zjy-priceTrend.txt";
		DJ_ZJY.fileNameOfStock = "tmsf-dj_zjy-stock.txt";
		DJ_ZJY.parseStockUrlArray = new String[] {
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=63026325&presellid=63026323&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=63026452&presellid=63026323&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=63026389&presellid=63026323&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=38195555&presellid=38195457&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=38195460&presellid=38195457&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=29112360&presellid=29112359&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=29112522&presellid=29112359&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=29112944&presellid=29112359&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=29112831&presellid=29112359&sid=33",
				"http://www.tmsf.com/newhouse/NewProperty_showbox.jspx?buildingid=29113119&presellid=29112359&sid=33"};
		DJ_ZJY.priceTrendUrl = "http://www.tmsf.com/newhouse/property_33_20539565_tendency.htm";		
	}

	private String priceTrendUrl;

	private String[] parseStockUrlArray;

	private String fileNameOfPriceTrend;

	private String fileNameOfStock;

	private String name;

	private boolean hasInternalid = true;

	public boolean isHasInternalid() {
		return hasInternalid;
	}

	public String getName() {
		return name;
	}

	public String getPriceTrendUrl() {
		return priceTrendUrl;
	}

	public String[] getParseStockUrlArray() {
		return parseStockUrlArray;
	}

	public String getFileNameOfPriceTrend() {
		return fileNameOfPriceTrend;
	}

	public String getFileNameOfStock() {
		return fileNameOfStock;
	}
}
